home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / exec / rawputchar.c < prev    next >
C/C++ Source or Header  |  1996-10-24  |  1KB  |  62 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: rawputchar.c,v 1.2 1996/10/24 15:50:54 aros Exp $
  4.     $Log: rawputchar.c,v $
  5.     Revision 1.2  1996/10/24 15:50:54  aros
  6.     Use the official AROS macros over the __AROS versions.
  7.  
  8.     Revision 1.1  1996/10/10 13:07:07  digulla
  9.     New function: RawPutChar()
  10.  
  11.  
  12.     Desc:
  13.     Lang: english
  14. */
  15. #include <unistd.h>
  16. #include <fcntl.h>
  17. #include "exec_intern.h"
  18.  
  19. /*****************************************************************************
  20.  
  21.     NAME */
  22.     #include <exec/semaphores.h>
  23.     #include <clib/exec_protos.h>
  24.  
  25.     AROS_LH1(ULONG, RawPutChar,
  26.  
  27. /*  SYNOPSIS */
  28.     AROS_LHA(ULONG, character, D0),
  29.  
  30. /*  LOCATION */
  31.     struct ExecBase *, SysBase, 86, Exec)
  32.  
  33. /*  FUNCTION
  34.  
  35.     INPUTS
  36.  
  37.     RESULT
  38.  
  39.     NOTES
  40.  
  41.     EXAMPLE
  42.  
  43.     BUGS
  44.  
  45.     SEE ALSO
  46.  
  47.     INTERNALS
  48.  
  49.     HISTORY
  50.  
  51. *****************************************************************************/
  52. {
  53.     AROS_LIBFUNC_INIT
  54.     AROS_LIBBASE_EXT_DECL(struct ExecBase *,SysBase)
  55.  
  56.     char c=character;
  57.     write(STDERR_FILENO,&c,1);
  58.     return character;
  59.     AROS_LIBFUNC_EXIT
  60. } /* RawPutChar */
  61.  
  62.